﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkBasket.Data.Entities
{
    public class Form
    {
        [Key]
        public int FormID { get; set; }
        public string FormName { get; set; }

        [JsonIgnore]
        public virtual Workflow Workflow { get; set; }
        public int WorkflowID { get; set; }
            
        [JsonIgnore]
        public virtual ICollection<FormControl> FormControls { get; set; }
    }
}
